package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 stu_data
 * 
 * @author ruoyi
 * @date 2024-02-29
 */
public class StuData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long cerId;

    /** 学生ID */
    private Long stuId;

    /** 学号 */
    @Excel(name = "学号")
    private String stuNumber;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String stuName;

    /** 所属班级 */
    @Excel(name = "所属班级")
    private String stuClass;

    /** 所属专业 */
    @Excel(name = "所属专业")
    private String stuSpeciality;

    /** 身份证 */
    @Excel(name = "身份证")
    private String stuIdcard;

    /** 入学时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入学时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enrollTime;

    /** 毕业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毕业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date graduationTime;

    /** 用户ID */
    private Long userId;

    /** 部门id */
    private Long deptId;

    /** 资格证书信息 */
    private List<StuCertificate> stuCertificateList;

    public Long getCerId() {
        return cerId;
    }

    public void setCerId(Long cerId) {
        this.cerId = cerId;
    }

    public void setStuId(Long stuId)
    {
        this.stuId = stuId;
    }

    public Long getStuId() 
    {
        return stuId;
    }
    public void setStuNumber(String stuNumber) 
    {
        this.stuNumber = stuNumber;
    }

    public String getStuNumber() 
    {
        return stuNumber;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setStuClass(String stuClass) 
    {
        this.stuClass = stuClass;
    }

    public String getStuClass() 
    {
        return stuClass;
    }
    public void setStuSpeciality(String stuSpeciality) 
    {
        this.stuSpeciality = stuSpeciality;
    }

    public String getStuSpeciality() 
    {
        return stuSpeciality;
    }
    public void setStuIdcard(String stuIdcard) 
    {
        this.stuIdcard = stuIdcard;
    }

    public String getStuIdcard() 
    {
        return stuIdcard;
    }
    public void setEnrollTime(Date enrollTime) 
    {
        this.enrollTime = enrollTime;
    }

    public Date getEnrollTime() 
    {
        return enrollTime;
    }
    public void setGraduationTime(Date graduationTime) 
    {
        this.graduationTime = graduationTime;
    }

    public Date getGraduationTime() 
    {
        return graduationTime;
    }

    public List<StuCertificate> getStuCertificateList()
    {
        return stuCertificateList;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setStuCertificateList(List<StuCertificate> stuCertificateList)
    {
        this.stuCertificateList = stuCertificateList;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cerId", getCerId())
            .append("stuId", getStuId())
            .append("stuNumber", getStuNumber())
            .append("stuName", getStuName())
            .append("stuClass", getStuClass())
            .append("stuSpeciality", getStuSpeciality())
            .append("stuIdcard", getStuIdcard())
            .append("enrollTime", getEnrollTime())
            .append("graduationTime", getGraduationTime())
            .append("stuCertificateList", getStuCertificateList())
            .append("userId", getUserId())
            .toString();
    }
}
